package com.meaningful;

import cn.hutool.extra.spring.SpringUtil;
import com.meaningful.design_pattern.strategy_pattern.CustomService;
import jakarta.annotation.Resource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ThinkingApplication {

    public static void main(String[] args) {
        SpringApplication.run(ThinkingApplication.class, args);
        CustomService customService = SpringUtil.getBean(CustomService.class);
        System.out.println(customService.getService(3_000_000L));
    }

}
